package com.gaohe.scp.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gaohe.common.annotation.Excel;
import com.gaohe.scp.domain.CsNotice;


import java.time.LocalDateTime;
import java.util.Date;


public class CsNoticeVo extends CsNotice {


    @Excel(name = "发送内容")
    private String content;

    @Override
    public String getType() {
        return type;
    }

    @Override
    public void setType(String type) {
        this.type = type;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    String type;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date createTime;


    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    //    @Override
//    public String toString() {
//        return "CsNoticeVo{" +
//                "content='" + content + '\'' +
//                '}';
//    }
    @Override
    public String toString() {
        return "CsNoticeVo{" +
                "content='" + content + '\'' +
                ", type='" + type + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
